class BlockPage extends SimplePage
{
    constructor(book,pageConfig)
    {
        super(book,pageConfig);
    }
    
    loadPage()
    {
        var pageDiv = document.createElement("div");
        pageDiv.classList.add("book-pages-item");
        pageDiv.innerHTML = this.pageConfig.description;
        return pageDiv;
    } 
}


class BlockPageFactory
{
    newPage(book,pageConfig)
    {
        return new BlockPage(book,pageConfig);
    }
}